package com.example.gobang;

import cn.bmob.v3.BmobObject;

/**
 * Created by 王聪 on 2018/6/15.
 */

public class GoBang extends BmobObject {
    private String white; //白棋json
    private String black; //黑棋json
    private Boolean whiteWin; //白棋获胜 (赋初值)
    private Integer room; //房号
    private Integer count;  //总对局数 （赋初值）
    private Integer whiteWinCount; // 白赢局数
    private Boolean someoneIn; // 是否有人链接进来 （赋初值）
    private Boolean gameover; //是否游戏结束 （赋初值）

    public Integer getRoom() {
        return room;
    }
    public Boolean getGameover() {
        return gameover;
    }

    public void setGameover(Boolean gameover) {
        this.gameover = gameover;
    }

    public Boolean getSomeoneIn() {
        return someoneIn;
    }

    public void setSomeoneIn(Boolean someoneIn) {
        this.someoneIn = someoneIn;
    }

    public Boolean getWhiteWin() {
        return whiteWin;
    }

    public void setWhiteWin(Boolean whiteWin) {
        this.whiteWin = whiteWin;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getWhiteWinCount() {
        return whiteWinCount;
    }

    public void setWhiteWinCount(Integer whiteWinCount) {
        this.whiteWinCount = whiteWinCount;
    }

    public String getWhite() {
        return white;
    }

    public void setWhite(String white) {
        this.white = white;
    }

    public String getBlack() {
        return black;
    }

    public void setBlack(String black) {
        this.black = black;
    }
}
